import 'package:flutter/material.dart';
import 'package:flutter_blog/compoments/blog/drawerPage.dart';

class BlogIndexPage extends StatefulWidget {
  BlogIndexPage({Key key}) : super(key: key);

  @override
  _BlogIndexPageState createState() => _BlogIndexPageState();
}

class _BlogIndexPageState extends State<BlogIndexPage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('博客'),
      ),
      backgroundColor: Color.fromRGBO(196, 148, 81, 0.5),
      drawer: Drawer(
        child: DrawerPage(),
      ),
    );
  }
}
